<div class="info-main mt-20">
        <div class="info-left bfz-22">
          <span><i class="fa fa-book"></i></span>
        </div>
        <div class="info-right bfz-78">
          <div class="top">
            <p class="fw-600"><span>协议名称：</span><span class="communicationprotocol-name"></span></p>
          </div>
          <div class="bottom">
        <p><span>端口号：</span><span class="communicationprotocol-port"></span></p>
        <p style=" display: inline-flex;"><span>通信协议字典描述：</span><span class="communicationprotocol-memo text-change-line" style="width: 320px;"></span></p>
          </div>
          
        </div>
    </div>

<script type="text/javascript">
  $(function(){
    var id={{id}}
      $.ajax({
          url:'/communicationprotocol/getprotocol',
          type:'post',
          data:{'id':id},
          dataType:'json',
          success:function(json){
             $('.communicationprotocol-name').text(json.data.name);
             $('.communicationprotocol-protocal').text(json.data.protocal);
             $('.communicationprotocol-port').text(json.data.port);
             $('.communicationprotocol-memo').text(json.data.memo);
          }
      })
        
        
  })
</script>